package demo.logger;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by zhangyanfei on 2018/4/10.
 *
 * @author zhangyanfei
 * @date 2018/04/10
 */
public class LoggerDemo {
    private static final  Logger logger = LoggerFactory.getLogger(LoggerDemo.class);

    public static void showLogger(){
        logger.info("info");
        logger.warn("warn");
        logger.error("error ");
    }

    public static void main(String[] args){
        showLogger();
    }
}
